package com.cn.xiaonuo.tcrfinance.tcrusers.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("pv_wallet_shop")
public class PvWalletShop implements Serializable {

    /**
     * 唯一标识
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 用户ID
     */
    private Integer shopId;

    /**
     * 可用余额
     */
    private BigDecimal availableBalance;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除状态，0：未删除，1：已删除
     */
    private Integer deleted;

    @TableField(exist = false)
    private String shopName;

}
